package com.asset.service;

import com.asset.model.entity.DepreciationDetail;
import com.asset.model.entity.DepreciationRecord;

import java.util.List;

public interface DepreciationService {
    void update(DepreciationDetail depreciationDetail);

    List<DepreciationRecord> getRecordByAssetId(Integer id);

    void updateEveryMonth();


    List<DepreciationRecord> getRecordByCompanyId(Integer companyId);

    List<DepreciationRecord> getRecordByCompanyIdSys(Integer companyId);

    List<DepreciationDetail> getDetailByRecordId(Integer recordId);

    void delete(Integer recordId);

    void updateRecord(Integer recordId);
}
